<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/page/include/taglib.jsp" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>

	<head>
		<meta name="description" content="洋码头海外购物网，1站式海外网上购物网站，海外箱包化妆品代购，母婴用品全程导购，经验分享和商品推荐，让您轻松购遍海外，洋码头海外购物网值得信赖。">
		<meta name="keywords" content="洋码头,海外购物网,海外购物网站">
		<meta name="mobile-agent" content="format=html5; url=http://m.ymatou.com">
		<meta charset="utf-8">
		<title>洋码头 - 让人放心的海外购物社区货 - 购物车</title>
		<link rel="shortcut icon" href="/favicon.ico">
		<link href="//static.ymatou.com/content/assets/wharf.2016071901.css" rel="stylesheet" type="text/css">

		<link href="//s2.ymatou.com/shopping/preorder.968c32d2cc.css" rel="stylesheet" type="text/css">
	<script>
        var ctx = "${ctx}";
    </script>
	</head>

	<body>
		<div id="pageHeader" style="margin-bottom: 30px;">
			<link href="//s2.ymatou.com/top/common.9b786ce.css" rel="stylesheet" type="text/css">
			<link href="//s2.ymatou.com/top/topbar.201a877.css" rel="stylesheet" type="text/css">

			<div class="topbar global-wrap">
				<div class="inner">
					<div class="topnar-fl">
						<a href="/">Hi，欢迎来到洋码头！</a>
						<span class="user-type" style="padding-left: 10px; display: inline-block;">
        <a href="//seller.ymatou.com/Seller" target="_blank">我是买手</a>
      </span>
					</div>
					<ul class="nav topbar-fr">

						<li class="nav-item" id="topbarLoginUser" onmouseover="javascript: $('.topbar .dropdownlist').css('display', 'block');" onmouseout="javascript: $('.topbar .dropdownlist').css('display', 'none');">
							<a href="#" class="downmenu"><span class="title" title="chenjiaxiang">chenjiaxiang</span><i class="arrow-bt"></i></a>
							<div class="dropdownlist" style="width: 72px; right: 2px; left: auto;">
								<a href="${ctx}/jsp/userLogin.jsp" id="logoutId">退出登录</a>
							</div>
						</li>

						<li class="nav-item">
							<a href="${ctx}/cart/getAllShoppingcart" target="_blank"><span class="title">购物车</span></a>
						</li>
						<li class="nav-item">
							<a href="${ctx }/my/MyTheorder" target="_blank"><span class="title">我的订单</span></a>
						</li>
						<li class="nav-item">
							<a href="${ctx}/my/Mycenter" class="downmenu" target="_blank"><span class="title">个人中心</span>
								<!--<i class="arrow-bt"></i>--></a>
						</li>
						<li class="nav-item" style="margin-left: -10px;">
							<a href="/home/rule" target="_blank"><span class="title">规则&amp;公告</span></a>
						</li>
						<!--<li class="nav-item">-->
						<!--<a href="http://evt.ymatou.com/activity_3135_pc?app_banner=home_page" target="_blank"><span class="title">手机洋码头</span></a>-->
						<!--</li>-->
					</ul>
				</div>
			</div>

			<div class="rightbar">
				<ul class="rightbar-inner" style="padding: 270px 0 0;">
					<li class="item user">
						<a href="${ctx}/my/Mycenter" target="_blank" title="我"><i class="rightbar-icon rti-user"></i></a>
					</li>
					<li class="item">
						<a href="${ctx}/cart/getAllShoppingcart" style="padding-bottom: 2px;" target="_blank" title="购物车">
							<i class="rightbar-icon rti-cart"></i><span class="title">购<br>物<br>车</span>

							<em class="tips" style="display: none;">9</em>

						</a>
					</li>
					<li class="item">
						<a style="padding-bottom: 2px;" onmouseover="$(&quot;#qrcodeContainer&quot;).show();" onmouseout="$(&quot;#qrcodeContainer&quot;).hide();" title="二维码"><i class="rightbar-icon rti-code"></i></a>
						<div id="qrcodeContainer" style="
          display: none;
          position: absolute;
          top: 0;
          left: -102px;
          z-index: 1;
          width: 102px;
          height: 126px;
          background: #383838;
        ">
							<img src="//pic1.ymatou.com/G02/M02/FB/5C/CgvUBFht9-CADvH8AAAW6VtgvkI439_62_63_w_o.png" title="洋码头二维码" style="width: 62px; height: 63px; display: block; margin: 10px auto;">
							<span>下载APP领取<br>260元新人礼包</span>
						</div>
					</li>
					<li class="item">
						<a style="padding-bottom: 2px;" href="javascript:void(0)" onclick="javascript:document.documentElement.scrollTop = document.body.scrollTop =0" title="置顶"><i class="rightbar-icon rti-top"></i><span class="title">TOP</span></a>
					</li>
				</ul>
			</div>
			<script type="text/javascript">
				$(function() {
					var locationUrl = location.href;
					//设置登录后返回Url
					if(location.href.toLowerCase().indexOf("login") == -1) {
						var login = $("[href='/login?ret=']");
						if(login != null) {
							login.attr("href", login.attr("href") + locationUrl);
						}
					}
					var logout = $(".topbar #logoutId");
					if(
						logout &&
						locationUrl.indexOf("/my/") == -1 &&
						locationUrl.substring(locationUrl.length - 3).toLowerCase() != "/my"
					) {
						logout.attr("href", logout.attr("href") + "?ret=" + locationUrl);
					}
				});
			</script>

			<script src="//s2.ymatou.com/top/common.8778e94.js" charset="utf-8" type="text/javascript"></script>
		</div>
		<div class="shopping-cart-wrap">
			<div class="sw-hd">
				<a href="/" class="logo"></a><span class="title">
        
        结算页
        
        </span>
				<ul class="step-bar">
					<li class="active"><em>1</em>我的购物车<i class="blackfive-icon bi-arrow"></i></li>
					<li class="active"><em>2</em>提交订单<i class="blackfive-icon bi-arrow"></i></li>
					<li><em>3</em>选择支付方式</li>
				</ul>
			</div>
			<div class="sw-bd">

				<div class="add-address-wrap">
					<h3 class="title">确认收货地址</h3>
					<div class="address-list-wrap hkAddressListWrap">
						<div id="addressListCont">
							<ul class="address-list hkAddrList" style="height: 135px; overflow: hidden;">
							<c:forEach items="${plist }" var="payaddress">
								<li class="al-item al-item-checked" data-id="11884373" data-hascardid="false" data-isdefault="true">
									<span class="main-address">${payaddress.name }(${payaddress.province } ${payaddress.city })<i class="blackfive-icon bi-checked"></i></span>
									<span class="main-addressee">${payaddress.name }</span>
									<span class="main-province">${payaddress.province }</span>
									<span class="main-city">${payaddress.city }</span>
									<span class="main-district">${payaddress.county }</span>
									<span class="main-detailAddress">${payaddress.address_detailed }</span>
									<span class="main-phone">${payaddress.phone }</span>
									<span class="identity-card hkCardHasValidate" style="display: none;">未进行身份验证</span>
									<div class="al-operate">
										<a href="javasctipt:;" class="hkEditAddr">编辑</a>
										<a href="javasctipt:;" class="hkDelAddr">删除</a>
									</div>
									<input class="HiddenAddress" type="hidden" value="${payaddress.province },${payaddress.city },${payaddress.county },${payaddress.address_detailed }">
									<input class="HiddenUserInfo" type="hidden" value="${payaddress.name }：${payaddress.phone }">
								</li>
</c:forEach>
								<!-- <li class="al-item" data-id="11920693" data-hascardid="false" data-isdefault="false">
									<span class="main-address">老陈(福建省 龙岩市)<i class="blackfive-icon bi-checked"></i></span>
									<span class="main-addressee">老陈</span>
									<span class="main-province">福建省</span>
									<span class="main-city">龙岩市</span>
									<span class="main-district">上杭县</span>
									<span class="main-detailAddress">水水水水</span>
									<span class="main-phone">176****1160</span>
									<span class="identity-card hkCardHasValidate">未进行身份验证</span>
									<div class="al-operate">
										<a href="javasctipt:;" class="hkEditAddr">编辑</a>
										<a href="javasctipt:;" class="hkDelAddr">删除</a>
									</div>
									<input class="HiddenAddress" type="hidden" value="福建省,龙岩市,上杭县,水水水水">
									<input class="HiddenUserInfo" type="hidden" value="老陈：176****1160">
								</li> -->
								<!-- <li class="al-item" data-id="11895291" data-hascardid="false" data-isdefault="false">
									<span class="main-address">陈佳祥(安徽省 安庆市)<i class="blackfive-icon bi-checked"></i></span>
									<span class="main-addressee">陈佳祥</span>
									<span class="main-province">安徽省</span>
									<span class="main-city">安庆市</span>
									<span class="main-district">怀宁县</span>
									<span class="main-detailAddress">钱钱钱</span>
									<span class="main-phone">176****2487</span>
									<span class="identity-card hkCardHasValidate">未进行身份验证</span>
									<div class="al-operate">
										<a href="javasctipt:;" class="hkEditAddr">编辑</a>
										<a href="javasctipt:;" class="hkDelAddr">删除</a>
									</div>
									<input class="HiddenAddress" type="hidden" value="安徽省,安庆市,怀宁县,钱钱钱">
									<input class="HiddenUserInfo" type="hidden" value="陈佳祥：176****2487">
								</li> -->
							</ul>
						</div>

						<p class="more-address hkMoreAddrBtn" style="display: none;"></p>

						<p class="add-new-address hkAddAddress"><i class="blackfive-icon bi-add"></i>新增收货地址</p>

						<div id="postCardId" style="display: none;">
							<div class="identity-card-check">
								<p class="tips">保税区海关政策要求，请填写收货人身份证号码 <em>(请务必保证填写真实无误)</em></p>
								<form class="layout-form form-align">
									<div class="form-item">
										<label class="label"><em class="required">＊</em>收货人身份证号码：</label>
										<div class="element">
											<input type="text" class="form-input input-middle hkCardId" placeholder="请输入18位身份证号码">
											<span class="error-msg hkCardIdWarning" style="display: none;"><i class="blackfive-icon bi-wraning"></i>哈尼，请输入正确的收件人身份证号码哦～</span>
										</div>
									</div>
								</form>
							</div>
						</div>
					</div>

					<div id="addAddressCont" style="display: none;">
						<!--无地址新增地址form-->
						<!--无地址新增地址form end-->
					</div>
				</div>
				<div id="preorderinfo">
					<!--确认收货信息-->
					<div id="orderInfoCont" class="comfirm-orders" data-needcardid="false">
						<h3 class="title">确认商品信息</h3>
						<ul class="order-list">

							<!--列表-->
							<li class="order-item hkSellerOrder">
								<div class="order-hd">
									<a href="javascript://#!" class="seller">
										<img src="http://pic1.ymatou.com/G02/M0A/6A/D2/CgvUBFer3byANoaDAACA_RgpN2E134_o.jpg" class="avatar">
										<span class="name">韩国都友时尚小铺</span>
									</a>
									<a href="javascript://#!" class="seller-site">
										<img src="http://img.ymatou.com/app/flag/circle/Korea.png" width="16" height="16" class="country">
										<span class="name">韩国</span>
									</a>
								</div>
								<table class="order-table-th">
									<tbody>
										<tr>
											<th class="product-info">商品</th>
											<th class="pi-attribute">商品属性</th>
											<th class="price">单价(元)</th>
											<th class="count">数量</th>
											<th class="sum">金额(元)</th>
											<th class="other-info"></th>
										</tr>
									</tbody>
								</table>
								<div class="order-bd">
									<div class="order-info-item hkOrderInfoItem" data-coupon="">
										<p class="order-number"><span>订单1</span></p>
										<c:forEach items="${plist }" var="payproduct" begin="0" end="0">
										<div class="oii-item hkProdItem" data-catalogid="c26585931" data-deliverytype="10" data-purchasenum="1" data-price="489">
											<!--商品-->
											<dl class="product-info">
												<dt class="pi-img"><a target="_blank" href="/product/p4511603.html"><img src="${payproduct.product_maingraph }" width="80" height="80"></a>
            
            
                                                        </dt>
												<dd class="pi-info">
													<p class="pi-name"><em class="pi-type">
                                                                
                                                                
                                                                包邮包税
                                                            </em>${payproduct.product_name }</p>
													<p class="pi-icon">
														<span>
                                                                            境外发货
            
                                                                    </span>
														<span><i class="logistics-icon li-tuihuo"></i>
                                                                        
                                                                        
                                                                            本土退货
                                                                        
                                                                            </span>

														<!-- 是否支持使用平台优惠券，接口中无输出，暂时不用做 -->
														<!-- supportSevenDaysRefund 是否支持7天无理由退货，如果返回true，则为支持，否则为不支持 -->
													</p>
												</dd>
											</dl>
											<!--商品属性-->
											<div class="pi-attribute">
												${payproduct.product_color }
											</div>
											<!--单价-->
											<div class="price">
												<p class="current-price">${payproduct.danjia }</p>
											</div>
											<!--数量-->
											<div class="count">
												${payproduct.product_quantity }
											</div>
											<!--金额(元)-->
											<div class="sum">${payproduct.color_price }</div>
										</div>
</c:forEach>
										<div class="other-info">
											<div class="remarks-delivery">
												<p class="delivery">配送信息：<em>
                                                        境外发货
                                                    </em></p>
												<div class="remarks">
													<p class="remarks-title">留言备注：</p>
													<input class="remarks-input hkRemarks" placeholder="这里可以留言给买手哦～">
												</div>
											</div>
										</div>
									</div>
								</div>
								<!--是否使用买手优惠券-->
								<div class="is-coupon hkCouponInfo">
								</div>
								<c:forEach items="${plist }" var="jisuan" begin="0" end="0">
								<div class="order-ft hkOrderTotalInfo">
									<ul class="order-all-info">
										<li>
									<input id="theorder_money" value="${jisuan.color_price}" type="hidden"></input>
											<span class="key">共<em class="total-product"> ${jisuan.product_quantity } </em>件商品，总金额：</span>
											<span class="value total-money"><em class="unit">¥</em>
                                                <em class="hkOrderTotalPrice" data-total="489">${jisuan.color_price }0</em>
                                            </span>
										</li>
										<li>
											<span class="key">运费：</span>
											<span class="value"><em class="unit">¥</em>0.00</span>
										</li>
									</ul>

								</div></c:forEach>
							</li>
							<!--列表-->

							<!--失效商品列表 -->
							<!--失效商品 end-->

						</ul>
					</div>
					<!--确认收货信息end-->
					<!--提交订单-->
					<c:forEach  items="${plist }" var="queren" begin="0" end="0">
					<div class="submit-orders-wrap">
						<div class="is-coupon">
							<div id="usePlatformCouponCode" class="ic-item">
								<div class="label">
									<label class="hkCheckbox"><span class="checkbox"></span>使用平台优惠码：</label>
									<div class="element">

										哈尼，如需使用优惠码，请
										<a href="//evt.ymatou.com/activity_3135_pc?app_banner=home_page" target="_blank">下载洋码头App</a> <br>前往【我】&gt;【余额/优惠券】兑换成优惠券使用~
									</div>
								</div>
								<span class="value">
                                </span>
							</div>
						</div>
						<ul class="order-all-info">
							<li>
								<span class="key">商品总金额：</span>
								<span class="value" id="AllTotalPrice" data-value="489.00"><em class="unit">¥</em>
                                ${queren.color_price }0
                                </span>
							</li>
							<li>
								<span class="key">运费：</span>
								<span class="value" id="TotalFreight" data-value="0">+<em class="unit">¥</em>
                                0.00
                                </span>
							</li>
							<li>
								<span class="key">优惠：</span>
								<span class="value">-<em class="unit">¥</em>
                                    <em id="hkTotalOffers" data-value="0">0.00</em>
                                </span>
							</li>
							<li>
								<span class="key">共<em class="total-product"> ${queren.product_quantity } </em>件商品，应付总金额：</span>
								<span class="value total-money"><em class="unit">¥</em>
                                    <em id="hkTotalPrice" data-total="${queren.color_price }">${queren.color_price }0</em>
                                </span>
							</li>
							<li id="SendToAddress">寄送至：${payaddress.province },${payaddress.city },${payaddress.county },${payaddress.address_detailed }<span class="address-name">${payaddress.name }：${payaddress.phone }</span></li>
							<li>
								<a href="shoppingcart" class="back-cart">返回购物车修改</a>
								<div class="btn-sku btn-basket" id="add_Cart" module_name="add_shoppingcart" module_index=""
                                 key_id="p2575963"><a onclick="location='${ctx}/jiesuan/zhifu';return false" href="#"><button id="orderConfirm" class="btn-submit-order">确认订单</button></a><
                            </div>
								
							</li>
						</ul>
						<label class="agreement"><span id="AgreementCheckBox" class="checkbox checkbox-checked"><i class="blackfive-icon bi-checkbox"></i></span><em id="agreementLaber">我已授权委托洋码头申报海关购买海外商品且已知晓《消费者知书》中内容并认可</em></label>
					</div>
					</c:forEach>
					<!--提交订单 end-->
				</div>
			</div>
		</div>
		<input class="reqId" type="hidden" value="">
		<!--新增地址弹窗-->
		<div class="pop-windows pop-windows-large add-new-address-pop" id="editAddrPopup">
			<div class="pop-wrap">
				<i id="popupClose" class="blackfive-icon bi-close"></i>
				<div class="pop-hd">
					<h3 class="title">编辑新收货地址</h3>
				</div>
				<div class="pop-bd">
					<form id="editForm" class="layout-form form-align">
						<div class="form-item">
							<label class="label"><em class="required">＊</em>收货人：</label>
							<div class="element">
								<input id="editAddressee" data-id="" value="" type="text" class="form-input input-middle" placeholder="请填写真实姓名">
								<span class="error-msg hkAddresseeMsgWarning" style="display: none;"><i class="blackfive-icon bi-wraning"></i>请输入收货人真实姓名</span>
							</div>
							<div class="tips-msg">请务必填写真实姓名，该姓名将用于海关清关核对</div>
						</div>
						<div class="form-item">
							<label class="label"><em class="required">＊</em>手机号码：</label>
							<div class="element">
								<input id="editPhone" value="" type="text" class="form-input input-middle" placeholder="请填写真实手机号码">
								<span class="error-msg hkPhoneWarning" style="display: none;"><i class="blackfive-icon bi-wraning"></i>请输入1字开头手机号码</span>
							</div>
						</div>
						<div class="form-item">
							<label class="label"><em class="required">＊</em>地址：</label>
							<div class="element element-select">
								<div id="areaSelect">
									<select id="editProvince" class="form-select">
										<option value="-1">选择省</option>
									</select>
									<select id="editCity" class="form-select">
										<option value="-1">选择市</option>
									</select>
									<select id="editDistrict" class="form-select">
										<option value="-1">选择区</option>
									</select>
								</div>
								<span class="error-msg hkAreaWarning" style="display: none;"><i class="blackfive-icon bi-wraning"></i>请选择收货人地址所属省市区</span>
							</div>
							<div class="element">
								<input id="editDetailAddress" value="" type="text" class="form-input input-middle" placeholder="请填写详细地址">
								<span class="error-msg hkAddressWarning" style="display: none;"><i class="blackfive-icon bi-wraning"></i>请输入真实详细地址</span>
							</div>
						</div>
						<div class="form-item">
							<label class="label"><em class="required">＊</em>邮政编码：</label>
							<div class="element">
								<input id="editPostCode" maxlength="6" value="" type="text" class="form-input input-middle" placeholder="请填写邮政编码">
								<span class="error-msg hkPostCodeWarning" style="display: none;"><i class="blackfive-icon bi-wraning"></i>请输入正确的邮政编码</span>
							</div>
						</div>

						<div class="form-item">
							<div class="element">
								<label class="set-default-address"><input id="editIsDefault" type="checkbox" class="editIsDefault1 checkbox">设置默认地址</label>
							</div>
						</div>

					</form>
				</div>
				<div class="pop-ft">
					<button id="popupCancel" class="pop-btn">取消</button><button id="popupPrimary" class="pop-btn btn-primary">保存</button>
				</div>
			</div>
		</div>
		<div class="wrapper footer" module_name="user_guarantee">
			<div class="matou-server" style="padding:10px 0;height:60px">
				<a class="matou-server-link" style="color:#fff" href="/help/zhengpin.html" target="_blank"> <img src=""> </a>
			</div>
			<div class="area">
				<div id="bottom_list" class="bottom_list">
					<ul class="dl">
						<li class="dt">购物指南</li>
						<li>
							<a href="//help.ymatou.com/help_01.html" target="_blank" rel="nofollow">注册与登录</a>
						</li>
						<li>
							<a href="//help.ymatou.com/help_02.html" target="_blank" rel="nofollow">账户信息维护</a>
						</li>
						<li>
							<a href="//help.ymatou.com/help_05.html" target="_blank" rel="nofollow">购物流程</a>
						</li>
						<li>
							<a href="//help.ymatou.com/help_09.html" target="_blank" rel="nofollow">会员体系</a>
						</li>
						<li>
							<a href="//help.ymatou.com/help_01_1.html" target="_blank" rel="nofollow">常见问题</a>
						</li>
					</ul>
					<ul class="dl">
						<li class="dt">订单服务</li>
						<li>
							<a href="//help.ymatou.com/help_07.html" target="_blank" rel="nofollow">订单状态说明</a>
						</li>
						<li>
							<a href="//help.ymatou.com/help_01_1.html" target="_blank" rel="nofollow">自动取消订单</a>
						</li>
						<li>
							<a href="//help.ymatou.com/help_07.html" target="_blank" rel="nofollow">上传身份证</a>
						</li>
					</ul>
					<ul class="dl">
						<li class="dt">支付与配送</li>
						<li>
							<a href="//help.ymatou.com/help_06.html" target="_blank" rel="nofollow">支付方式</a>
						</li>
						<li>
							<a href="//help.ymatou.com/help_16.html" target="_blank" rel="nofollow">优惠券和红包</a>
						</li>
						<li>
							<a href="//help.ymatou.com/help_06.html" target="_blank" rel="nofollow">如何提现</a>
						</li>
						<li>
							<a href="//help.ymatou.com/help_07.html" target="_blank" rel="nofollow">配送方式</a>
						</li>
					</ul>
					<ul class="dl">
						<li class="dt">售后服务</li>
						<li>
							<a href="//help.ymatou.com/help_15.html" target="_blank">消费维权</a>
						</li>
						<li>
							<a href="//help.ymatou.com/help_16.html" target="_blank">纠纷处理规则</a>
						</li>
						<li>
							<a href="//help.ymatou.com/help_17.html" target="_blank">退货规则</a>
						</li>
					</ul>
					<div class="dl last">
						<div class="dt">官方微信</div>
						<p> <img src="//static.ymatou.com/content/images/weixin2d-new.png" class="img"> </p> <span class="weibobox"> <a href="http://weibo.com/ymatou2011" target="_blank">关注微博</a> <a href="http://weibo.com/ymatou2011" target="_blank"><span class="ico-weibo-png"></span></a>
						</span>
					</div>
				</div>
				<div class="matou-intro">
					<a href="//about.ymatou.com/ymtglobal.html" target="_blank" rel="nofollow">关于洋码头</a>
					<a href="//about.ymatou.com/zhaopin.html" target="_blank" rel="nofollow">码头招聘</a>
					<a href="/sellerhome/sitemap/index" target="_blank">网站地图</a>
					<a href="//help.ymatou.com/index.html" target="_blank" rel="nofollow">所有帮助</a>
					<a href="//staticontent.ymatou.com/html/merchant/index.html" target="_blank" rel="nofollow">海外招商中心</a>
					<a href="//staticontent.ymatou.com/html/ms_rule/" target="_blank" rel="nofollow">扫货买手规则</a>
					<a class="last" href="//help.ymatou.com/qa_02.html" target="_blank" rel="nofollow">卖家常见问题</a>
				</div>
				<div class="copyright" style="margin:20px;text-align:center">© 2014－2020 ymatou.hk 版权所有</div>
			</div>
		</div>
		<script type="text/javascript" async="" src="https://dn-growing.qbox.me/vds.js"></script>
		<script async="" src="//www.google-analytics.com/analytics.js"></script>
		<script async="" src="//s1.ymatou.com/bpm/build/gtm/1.3.6/detection.js"></script>
		<script async="" src="//www.googletagmanager.com/gtm.js?id=GTM-5PJKS5"></script>
		<script src="//s2.ymatou.com/shopping/common.88fa9ab37e.js" charset="utf-8" type="text/javascript"></script>
		<script src="//s2.ymatou.com/shopping/preorder.88fa9ab37e.js" charset="utf-8" type="text/javascript"></script>

		<script>
			(function(w, d, s, l, i, o) {
				w['YmatouAnalyticsobject'] = o;
				w[o] = w[o] || function() {
					(w[o].q = w[o].q || []).push(arguments)
				}

				w[l] = w[l] || [];
				w[l].push({
					'gtm.start': new Date().getTime(),
					event: 'gtm.js'
				});
				var f = d.getElementsByTagName(s)[0],
					j = d.createElement(s),
					dl = l != 'dataLayer' ? '&l=' + l : '';
				j.async = true;
				j.src = '//www.googletagmanager.com/gtm.js?id=' + i + dl;
				f.parentNode.insertBefore(j, f);
			})(window, document, 'script', 'dataLayer', 'GTM-5PJKS5', '_dc_');
		</script>
		<script type="text/javascript" id="">
			"undefined" == typeof Array.prototype.forEach && (Array.prototype.forEach = function(a) {
				for(var b = 0; b < this.length; b++) a(this[b], b)
			});
			(function(a, b, d, f, c, e) {
				a.YmatouAnalyticsobject = a.YmatouAnalyticsobject || d;
				a[d] = a[d] || function() {
					(a[d].q = a[d].q || []).push(arguments)
				};
				c = document.createElement("script");
				e = document.getElementsByTagName("script")[0];
				c.async = 1;
				b = b.replace(".js", f + ".js");
				c.src = b;
				e.parentNode.insertBefore(c, e)
			})(window, "//s1.ymatou.com/bpm/build/gtm/1.3.6/detection.js", "_dc_", "");
			(function(a, b, d, f, c, e, g) {
				a.GoogleAnalyticsObject = c;
				a[c] = a[c] || function() {
					(a[c].q = a[c].q || []).push(arguments)
				};
				a[c].l = 1 * new Date;
				e = b.createElement(d);
				g = b.getElementsByTagName(d)[0];
				e.async = 1;
				e.src = f;
				g.parentNode.insertBefore(e, g)
			})(window, document, "script", "//www.google-analytics.com/analytics.js", "ga");
			ga("create", "UA-18618809-1", {
				cookieDomain: "ymatou.com"
			});
			ga("send", "pageview");
			_dc_("fillCommon", {
				appid: "4"
			});
			_dc_("on", "load_more_fn", function(a) {
				console.log(a)
			});
			var _vds = _vds || [];
			window._vds = _vds;
			(function() {
				_vds.push(["setAccountId", "b8dc04e0cdcb2603"]);
				var a = document.createElement("script");
				a.type = "text/javascript";
				a.async = !0;
				a.src = ("https:" == document.location.protocol ? "https://" : "http://") + "dn-growing.qbox.me/vds.js";
				var b = document.getElementsByTagName("script")[0];
				b.parentNode.insertBefore(a, b)
			})();
		</script>
		<script>
    $(document).ready(function () {

    });
    //登陆
    $(function () {
        $('#add_Cart').on('click', function () {
            var theorder_money = $('#theorder_money').val();
           
            var i;
            $.ajax({
                type: "post",
                url: ctx + "/pay/addCart",
                data: {
                	theorder_money: theorder_money,
                },
                success: function (result) {
                    if (result.code == 0) {
                        window.opern(ctx +'/jiesuan/zhifu');
                        // parent.location.href = ctx + '/index';
                    } else if (result.code != 0) {
                        alert(result.msg);
                    }
                },
                error: function () {
                    alert("获取数据失败！");
                }
            });
            return false;
        });
    });
</script>
		<script type="text/javascript" id="" src="//s1.ymatou.com/bpm/build/gtm/1.3.3/dtk.js"></script>

		<script type="text/javascript" id="" src="//s1.ymatou.com/bpm/build/gtm/1.3.4/evt_common.js"></script>
	</body>

</html>